package downloader;

public class Part {
    private int begin;
    private int length;
    private int currentLength;

    public Part(int begin, int length) {
        this.begin = begin;
        this.length = length;
    }

    public int getBegin() {
        return begin;
    }

    public int getLength() {
        return length;
    }

    public int getCurrentLength() {
        return currentLength;
    }

    public void setCurrentLength(int currentLength) {
        this.currentLength = currentLength;
    }
}
